﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SaleTopToday.aspx.cs" Inherits="TRPOP.CRM.Web.SaleTopToday" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Src="~/Controls/UC_Pager.ascx" TagName="UC_Pager" TagPrefix="uc1" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>员工销售记录排行榜</title>
    <script src="../Scripts/utils.js" type="text/javascript">
    </script>
</head>
<body>
    <form id="form1" runat="server">
    ·
    <div class="welcomBox">
        <div class=" welcomCont listPadding">
            <p class=" mb5 c_grey postion">
                您的当前位置：<a href="../welcome.aspx" title="首页">首页</a> > <a href="#" title="员工销售记录排行榜">员工销售记录排行榜</a></p>
            <div class="listTit">
                <div class=" fl listTit_l">
                </div>
                <div class=" fl listTit_c">
                    <h4 class="fl f14 fb">
                        <%=DateTime.Now.ToString("yyyy年MM月") %>员工销售记录排行榜</h4>
                </div>
                <div class=" fr listTit_r">
                </div>
            </div>
            <div class="listCon listCon_padding">
                <table width="100%" border="0" class="tableBox">
                    <thead>
                        <tr class="f12 tableTit">
                            <th width="20%" class="tc fb br1ce">
                                员工工号
                            </th>
                            <th width="20%" class="tc fb br1ce">
                                员工名称
                            </th>
                            <th width="20%" class="tc fb br1ce">
                                所在部门
                            </th>
                            <th width="20%" class="tc fb br1ce">
                                今日销售额
                            </th>
                        </tr>
                    </thead>
                    <tbody id="tab">
                        <asp:Repeater runat="server" ID="rptList">
                            <ItemTemplate>
                                <tr class="f12">
                                    <td class="tc">
                                        <%#Eval("nvcEmployeeNumber")%>
                                    </td>
                                    <td class="tc">
                                        <%#Eval("nvcEmployeeName")%>
                                    </td>
                                    <td class="tc">
                                        <%#Eval("nvcDepartment")%>
                                    </td>
                                    <td class="tc">
                                        <%#Eval("TotalNum")%>
                                    </td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </tbody>
                    <tfoot>
                        <tr>
                            <td colspan="4">
                                <div class="f12 tablePage">
                                    <uc1:UC_Pager ID="Pager" OnPageChanged="UC_PagerChanged" runat="server" />
                                </div>
                            </td>
                        </tr>
                    </tfoot>
                </table>
            </div>
        </div>
    </div>
    <script type="text/javascript">
<!--
        var Ptr = document.getElementById("tab").getElementsByTagName("tr");
        function $() {
        }
        window.onload = $;
        for (var i = 0; i < Ptr.length; i++) {
            Ptr[i].onmouseover = function () {
                this.tmpClass = this.className;
                this.className = "f12 js_bgColor";

            };
            Ptr[i].onmouseout = function () {
                this.className = this.tmpClass;
            };
        }
//-->
    </script>
    </form>
</body>
</html>
